// import Router from '@router/router'
import { Provider } from 'react-redux'
import { store, persistor } from '@redux/store'
import { PersistGate } from 'redux-persist/integration/react'
import { ConfigProvider, Toast } from 'antd-mobile'
import zhCN from 'antd-mobile/es/locales/zh-CN'
import Router from '@router/router'
// import PageList from '@components/pageList'
Toast.config({ maskClickable: false, duration: 1000 })
function App() {
  return (
    <Provider store={store}>
      <PersistGate loading={null} persistor={persistor}>
        <ConfigProvider  locale={zhCN}>
          <Router />
          {/* <PageList /> */}
        </ConfigProvider>
      </PersistGate>
    </Provider>
  )
}

export default App
